﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Core
{
    /// <summary>
    /// 巡检目标表
    /// </summary>
    [Table("IT_Plan_Target")]
    [Comment("巡检目标表")]
    public class Plan_Target : DEntityBase
    {
        /// <summary>
        /// 计划ID
        /// </summary>
        [Comment("计划ID")]
        public long PlanId { get; set; }
        /// <summary>
        /// 目标GPS
        /// </summary>
        [Comment("目标GPS")]
        [MaxLength(60)]
        public string GPS { get; set; }
        /// <summary>
        /// 目标名称
        /// </summary>
        [Comment("目标名称")]
        [MaxLength(10)]
        public string Name { get; set; }
        /// <summary>
        /// 目标图片地址
        /// </summary>
        [Comment("目标图片地址")]
        [MaxLength(100)]
        public string IMG { get; set; }
        /// <summary>
        /// 目标面积
        /// </summary>
        [Comment("目标面积")]

        public double Area { get; set; }
    }
}
